package com.nf.xiaomi.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.nf.dbutils.Column;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;

@Data
@ToString
public class EmployeeEntity {
    @Column("employee_id")
    private Integer employeeID;
    @Column("employee_account")
    private Long employeeAccount;
    @Column("employee_password")
    private String employeePassword;
    @Column("employee_name")
    private String employeeName;
    @Column("employee_position")
    private String employeePosition;
    @Column("employee_picture")
    private String employeePicture;
    @Column("employee_phone")
    private Long employeePhone;
    @Column("employee_date")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GTM+8")
    private LocalDateTime employeeDate;
    @Column("nstate")
    private Integer state;
}
